Notions of Reenement for a Coordination Language for Gamma
نویسنده
چکیده
Gamma has shown to be a powerful and expressive formalism that allows the basic computation of an algorithm to be expressed with a minimum of control. In a second stage of the design process, the highly nondeterministic behaviour of Gamma can be exploited to impose additional control using a separate coordination language. Separating computation from coordination facilitates correctness proofs of the computation component, because operational details need not be taken into account. In this respect it is important that the coordination component does not invalidate the established correctness of the program. In this paper we propose several notions of reenement that allow the coordination component of a Gamma program to be constructed through a correctness preserving derivation process. We show that the notions can be combined into a hybrid proof method that can be used to reason about diierent properties of the coordination component.
منابع مشابه
A Compositional Semantics of Combining Forms for Gamma Programs
The Gamma model is a minimal programming language based on local multi-set rewriting (with an elegant chemical reaction metaphor); Hankin et al derived a calculus of Gamma programs built from basic reactions and two composition operators , and applied it to the study of relationships between parallel and sequential program composition, and related program transformations. The main shortcoming o...
متن کاملPipelining the Molecule Soup: A Plumber's Approach to Gamma
Gamma is a language based on multiset rewriting aimed at separating coordination from computation. A typical situation in Gamma are producer-consumer-type programs , with data ow from one program part to another. Sequential composition often makes it easier to show correctness of the composed program, whereas parallel composition ooers more freedom to coordinate the computation and to choose an...
متن کاملThe formal derivation of parallel triangularsystem solvers using a coordination - baseddesign methodMichel
We present an application of a method for the design of parallel programs that addresses the functional aspects and the operational aspects in separate phases. In the rst phase the functional aspects are speciied using the Gamma model. This model encourages a speciication with a minimum of control and thereby provides insight into the potential parallelism inherent in the problem. Secondly, the...
متن کاملCompositional Reenement of Interactive Systems
We describe systems and their components by functional speciication techniques. We deene notions of interface and interaction reenement for interactive systems and their components. These notions of reenement allow one to change both the syntactic (the number of channels and sorts of messages at the channels) and the semantic interface (causality ow between messages and interaction granularity)...
متن کاملRefinement Calculus, Part I: Sequential Nondeterministic Programs
A lattice theoretic framework for the calculus of program reenement is presented. Speciications and program statements are combined into a single (innnitary) language of commands which permits miraculous, angelic and demonic statements to be used in the description of program behavior. The weakest precondition calculus is extended to cover this larger class of statements and a game-theoretic in...
متن کامل